import os
import gradio as gr


def gen_content(prompt):
    return "aa";


inputs = gr.Textbox(lines=7, label="Question", placeholder="输入问题")
outputs = gr.Textbox(lines=7, label="Answer")
iface = gr.Interface(fn=gen_content,
                     inputs=inputs,
                     outputs=outputs,
                     title="AI Auto Tester",
                     description="AI自动化测试")
iface.launch(share=True)
